.class Lcom/estrongs/android/pop/app/network/EsNetworkActivity$f;
.super Landroid/widget/BaseAdapter;
.source "EsNetworkActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/network/EsNetworkActivity;->F()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/network/EsNetworkActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/network/EsNetworkActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$f;->a:Lcom/estrongs/android/pop/app/network/EsNetworkActivity;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$f;->a:Lcom/estrongs/android/pop/app/network/EsNetworkActivity;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/network/EsNetworkActivity;->b(Lcom/estrongs/android/pop/app/network/EsNetworkActivity;)Les/z00;

    move-result-object v0

    invoke-virtual {v0}, Les/z00;->a()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 0

    .line 1
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    return-object p1
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 4

    .line 1
    new-instance p3, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$f;->a:Lcom/estrongs/android/pop/app/network/EsNetworkActivity;

    const/4 v1, 0x0

    invoke-direct {p3, v0, v1}, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;-><init>(Lcom/estrongs/android/pop/app/network/EsNetworkActivity;Lcom/estrongs/android/pop/app/network/EsNetworkActivity$a;)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$f;->a:Lcom/estrongs/android/pop/app/network/EsNetworkActivity;

    invoke-static {v0, p2, p3}, Lcom/estrongs/android/pop/app/network/EsNetworkActivity;->a(Lcom/estrongs/android/pop/app/network/EsNetworkActivity;Landroid/view/View;Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;)Landroid/view/View;

    move-result-object p2

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$f;->a:Lcom/estrongs/android/pop/app/network/EsNetworkActivity;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/network/EsNetworkActivity;->b(Lcom/estrongs/android/pop/app/network/EsNetworkActivity;)Les/z00;

    move-result-object v0

    invoke-virtual {v0, p1}, Les/z00;->b(I)[Ljava/lang/String;

    move-result-object v0

    .line 4
    iget-object v1, p3, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;->b:Landroid/widget/TextView;

    const/4 v2, 0x0

    aget-object v2, v0, v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v1, 0x1

    .line 5
    aget-object v2, v0, v1

    if-eqz v2, :cond_1

    .line 6
    iget-object v2, p3, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;->c:Landroid/widget/TextView;

    aget-object v3, v0, v1

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 7
    iget-object v2, p0, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$f;->a:Lcom/estrongs/android/pop/app/network/EsNetworkActivity;

    const v3, 0x7f1108df

    invoke-virtual {v2, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    aget-object v0, v0, v1

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 8
    iget-object v0, p3, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;->a:Landroid/widget/ImageView;

    const v2, 0x7f0803a9

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto :goto_0

    .line 9
    :cond_0
    iget-object v0, p3, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;->a:Landroid/widget/ImageView;

    const v2, 0x7f0803a8

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 10
    :cond_1
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$f;->a:Lcom/estrongs/android/pop/app/network/EsNetworkActivity;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/network/EsNetworkActivity;->b(Lcom/estrongs/android/pop/app/network/EsNetworkActivity;)Les/z00;

    move-result-object v0

    invoke-virtual {v0, p1}, Les/z00;->a(I)Les/z00$b;

    move-result-object p1

    .line 11
    invoke-virtual {p1}, Les/z00$b;->b()I

    move-result v0

    if-ne v0, v1, :cond_2

    .line 12
    iget-object p1, p3, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;->a:Landroid/widget/ImageView;

    const p3, 0x7f0803a4

    invoke-virtual {p1, p3}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto :goto_1

    .line 13
    :cond_2
    invoke-virtual {p1}, Les/z00$b;->b()I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_3

    .line 14
    iget-object p1, p3, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;->a:Landroid/widget/ImageView;

    const p3, 0x7f0803a5

    invoke-virtual {p1, p3}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto :goto_1

    .line 15
    :cond_3
    invoke-virtual {p1}, Les/z00$b;->b()I

    move-result p1

    const/4 v0, 0x3

    if-ne p1, v0, :cond_4

    .line 16
    iget-object p1, p3, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;->a:Landroid/widget/ImageView;

    const p3, 0x7f0803a6

    invoke-virtual {p1, p3}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto :goto_1

    .line 17
    :cond_4
    iget-object p1, p3, Lcom/estrongs/android/pop/app/network/EsNetworkActivity$i;->a:Landroid/widget/ImageView;

    const p3, 0x7f0803a3

    invoke-virtual {p1, p3}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    :goto_1
    return-object p2
.end method
